package twi.result.graph;

public class REdge {
	
	private String label = null;
	private RNode origin = null;
	private RNode target = null;
	int type			= RGraph.EDGE;
	
	
	public REdge(String label, RNode o, RNode t){
		this(label, o, t, RGraph.EDGE);
	}
	public REdge(String label, RNode o, RNode t, int type){
		this.label = label;
		this.origin = o;
		this.target = t;
		this.type = type;
	}
	public String getLabel() {
		return label;
	}
	public RNode getOrigin() {
		return origin;
	}
	public RNode getTarget() {
		return target;
	}
	public int getType() {
		return type;
	}
	
	
}
